package com.yjc.drygoods.cart.feign;

import com.yjc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yjc
 * @create 2022-10-17 18:13
 */
@FeignClient("drygoods-coupon")
public interface CouponFeignService {

    @GetMapping("/coupon/skufullreduction/get/skuFullReductionInfo/byskuId")
    R getSkuFullReductionInfoByskuId(@RequestParam("skuId") Long skuId);

    @GetMapping("/coupon/skuladder/get/skuLadderInfo/byskuId")
    R getSkuLadderInfoByskuId(@RequestParam("skuId") Long skuId);

}
